//
//  WXSSleepInfoModel.h
//  SleepBooks
//
//  Created by 王勇 on 16/9/10.
//  Copyright © 2016年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "WXSDreamTalkModel.h"
#import "WXSSleepStatusModel.h"

@interface WXSSleepInfoModel : NSObject<NSCoding>

/**
 *  睡觉的日子（以开始日期为准）
 */
@property (nonatomic,strong)NSDate *sleepDate;

/**
 *  睡眠开始时间
 */
@property (nonatomic,strong)NSDate *startTime;


/**
 *  睡眠结束时间
 */
@property (nonatomic,strong)NSDate *endTime;

/**
 *  睡眠总时长
 */
@property (nonatomic,assign)NSTimeInterval totalSleepingTime;

/**
 *  深度睡眠总时长
 */
@property (nonatomic,assign)NSTimeInterval deepSleepingTime;

/**
 *  浅度睡眠总时长
 */
@property (nonatomic,assign)NSTimeInterval shallowSleepingTime;

/**
 *  醒来总时长
 */
@property (nonatomic,assign)NSTimeInterval awakeTime;

/**
 *  梦话录音数据数组
 */
@property (nonatomic,strong)NSMutableArray<WXSDreamTalkModel*> *dreamTalkModels;

/**
 *  序列化的睡眠状态
 */
@property (nonatomic,strong)NSMutableArray <WXSSleepStatusModel*> *sleepStatusSequence;

/**
 *  醒来model
 */
@property (nonatomic,strong)NSMutableArray <WXSAwakeSleepStatusModel*> *awakeModels;

/**
 *  浅睡眠model
 */
@property (nonatomic,strong)NSMutableArray<WXSShallowSleepStatusModel*> *shallowModels;

/**
 *  深睡眠model
 */
@property (nonatomic,strong)NSMutableArray<WXSDeepSleepStatusModel*> *deepModels;

/**
 *  本次睡眠信息存储的文件路径
 */
@property (nonatomic,strong)NSString *storagePath;


@end
